package com.prj.ufdm.demo.tutorial.rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloImpl extends UnicastRemoteObject implements IHello {
	
	private static final long serialVersionUID = 7481129632857839381L;

	public HelloImpl() throws RemoteException {
        super();
    }
	
    public String sayHello(String someBodyName) throws RemoteException {
        return "你好，" + someBodyName + "!";
    }
}
